package com.weixx.yctp.cp.dao;

import com.weixx.yctp.cp.entity.Cp;
import com.weixx.yctp.cp.entity.CpExample;
import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.hibernate.validator.constraints.NotEmpty;
import org.springframework.stereotype.Repository;
import com.weixx.yctp.MyBatisBaseDao;

import java.util.Date;
import java.util.List;

/**
 * CpDao继承基类
 */
@Mapper
@Repository
public interface CpDao extends MyBatisBaseDao<Cp, Integer, CpExample> {

    List<Cp> selectByTimeAVG(@Param("pcTime")String pcTime);
}